package com.hyt.it.ogt.kq.service.gov.feign.ks.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(
    value = "ProjectCollectInfoOption对象",
    description = "项目采集信息选项"
)
@Data
public class KwProjectCollectInfoOptionVO {
    @ApiModelProperty("项目id")
    private String projectId;
    @ApiModelProperty("采集信息id")
    private String collectInfoId;
    @ApiModelProperty("采集信息id")
    private String projectCollectInfoId;
    @ApiModelProperty("前端组件类型:输入框，下拉框")
    private String componentType;
    @ApiModelProperty("选项值")
    private String optionValue;
    @ApiModelProperty("选项label")
    private String optionLabel;
    @ApiModelProperty("排序")
    private Integer orderNum;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("父选项")
    private String parentOptionValue;
    @ApiModelProperty("选项层级")
    private String optionLevel;
    @ApiModelProperty("选中状态")
    private Boolean checkState;
    @ApiModelProperty("UUIDUtils.32位)")
    private String id;
    @ApiModelProperty(value = "创建人ID")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(
            shape = JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private LocalDateTime createDate;
    @ApiModelProperty(value = "更新人ID")
    private String updateBy;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(
            shape = JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private LocalDateTime updateDate = LocalDateTime.now();
    @ApiModelProperty( value = "删除标记(false：正常；true：删除)")
    private Boolean delFlag;

    public KwProjectCollectInfoOptionVO() {
    }
}
